<?php

function smarty_modifier_display_status_ticket($status) {
    switch ($status) {
        case 1: return '<span class="status-ticket open">Aberto</span>'; break;
        case 2: return '<span class="status-ticket course">Em andamento</span>'; break;
        case 3: return '<span class="status-ticket close">Fechado</span>'; break;
        case 4: return '<span class="status-ticket cancel">Cancelado</span>'; break;
    }
}

?>
